/**
 * Class:				WordActivity.java
 * 
 * Project:				Bio-inspired car commander
 * 
 * Subproject:			Word Detector
 * 
 * Date: 				Mai - Juillet 2011
 * 
 * Auteurs:				Bruno Da Silva
 * 						Thomas Jordan
 * 
 * Description:
 * Gestion de la liste des mots qui sont reconnaissable par l'application.
 *   
 */
package ch.sda.bioinspiredcarcommander;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ListView;
import ch.sda.bioinspiredcarcommander.words.WordsManager;

public class WordsActivity extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.words);

		ListView wordsList = (ListView)findViewById(R.id.wordsList);

		wordsList.setAdapter(new WordsAdapter(this, WordsManager.sharedManager(this).getWords()));

		//WordsManager.sharedManager(this).getWords();

	}
}
